﻿@page "/app/invoice/edit/{Id:int}"
@page "/app/invoice/edit"
@inherits ProCompontentBase

<Add Id="@Id"></Add>

@code {
    [Parameter]
    public int? Id { get; set; }

    protected override void OnParametersSet()
    {
        base.OnParametersSet();
        if (Id is null) Id = 0;
    }
}
